<%--
  Created by IntelliJ IDEA.
  User: 86188
  Date: 2023/6/8
  Time: 23:51
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>增加用户信息</title>
    <link href="${pageContext.request.contextPath}/css/style.css" rel="stylesheet" type="text/css"  >
</head>
<body>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/account.js"></script>
<form action="${pageContext.request.contextPath}/insert" method="post">
    <table>
        <thead>
        <tr>
            <th colspan="2">增加日志</th>
        </tr>
        </thead>
        <tbody>
        <tr>
            <td colspan="2">
                <label for="accountName">用途:</label>
                <textarea name="accountName" id="accountName" placeholder="输入用途"></textarea>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <label for="accountMoney">金额:</label>
                <input style="width: 100%" type="number" name="accountMoney" id="accountMoney" placeholder="输入金额" step="any">
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <label for="accountDetails">备注:</label>
                <textarea name="accountDetails" id="accountDetails" placeholder="输入详情"></textarea>
            </td>
        </tr>
        <tr>
            <td>
                <input type="submit" value="确认" onclick="return insert()">
            </td>
            <td>
                    <a href="${pageContext.request.contextPath}/account">取消</a>
            </td>
        </tr>
        </tbody>
        <tfoot>
        <tr>
            <td colspan="2" id="errorMessage" class="errorMessage">
                ${errMsg}
            </td>
        </tr>
        </tfoot>
    </table>
</form>
</body>
</html>
